package com.kuang.pojo;

import java.io.Serializable;

public class supplier implements Serializable {
    private int id;
    private String company;
    private String address;
    private String business;
    private String detail;
    private String phone;

    public supplier(String company, String address, String business, String detail, String phone) {
        this.company = company;
        this.address = address;
        this.business = business;
        this.detail = detail;
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "supplier{" +
                "id=" + id +
                ", company='" + company + '\'' +
                ", address='" + address + '\'' +
                ", business='" + business + '\'' +
                ", detail='" + detail + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }

    public supplier(int id, String company, String address, String business, String detail, String phone) {
        this.id = id;
        this.company = company;
        this.address = address;
        this.business = business;
        this.detail = detail;
        this.phone = phone;
    }

    public supplier() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getBusiness() {
        return business;
    }

    public void setBusiness(String business) {
        this.business = business;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
